/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 * 
 *	Created on 2010-12-22 下午04:19:10
 */
package cn.com.ccxe.core.entity;

/**
 * 文章列表链接
 * @author hetao
 */
public class ListPageLink extends Link {

	private int moduleId;
	private CrawlExpression listPage;
	private String title;

	/*                 GET METHOD                */
	public int getModuleId() {return moduleId;}
	public CrawlExpression getListPage() {return listPage;}
	public String getTitle() {return title;}
	/*                 SET METHOD                */
	public void setModuleId(int moduleId) {this.moduleId = moduleId;}
	public void setListPage(CrawlExpression listPage) {this.listPage = listPage;}
	public void setTitle(String title) {this.title = title;}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("moduleId:"+moduleId)
			.append(",path:"+getPath())
			.append(",title").append(title)
			.append(",FetchTime:"+getFetchTime())
			.append(",UpdateTime,"+ getUpdateTime());
		return sb.toString();
	}
	
}
